import request from '@/utils/request'

export function GetByList(offset, pagesize) {
  return request({
    url: '/service-bank/airui/api/orders/lists',
    method: 'get',
    params: {
      offset: offset,
      pagesize: pagesize,
    },
  })
}

export function GetByListj(offset, pagesize) {
  return request({
    url: '/service-bank/airui/api/orders/listorders',
    method: 'get',
    params: {
      offset: offset,
      pagesize: pagesize,
    },
  })
}

export function GetByListt(offset, pagesize) {
  return request({
    url: '/service-bank/airui/api/orders/tixianorder',
    method: 'get',
    params: {
      offset: offset,
      pagesize: pagesize
    },
  })
}

export function GetByListz(offset, pagesize) {
  return request({
    url: '/service-bank/airui/api/orders/chongorder',
    method: 'get',
    params: {
      offset: offset,
      pagesize: pagesize,
    },
  })
}

export function Deletes(rid) {
  return request({
    url: '/service-bank/airui/api/orders/deletes',
    method: 'delete',
    params: {
      rid: rid,
    },
  })
}
